package com.ate.aoligei.contract;

/**
 * @author Ate
 * @description:
 * @date :2020/11/9 15:44
 */
public interface Contract {
    interface RegisPresenter{
        void register(String username,String password);

    }
    interface RegisterView{
        void onSuccess();
        void onError(String msg);
    }
    interface LoginPresenter{
        void login(String username,String password);
    }
    interface LoginView{
        void onSuccess();
        void onError(String msg);
    }

}
